#include <iostream>
#include <conio.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
using namespace std;

int main()
{
int A,B,C;
cout<<"vvedite A";
      cin>>A;
cout<<"vvedite B";
cin>>B;
cout<<"vvedite C privet vasia";
cin>>C;
int S1=C-A;
int S2=B-C;
int F=S1*S2;
cout<<"proizvedenie ravno="<<F;
return 0;
}
